/**
 * Created by Admin on 2017/7/12.
 */

    var p1=document.getElementById('p1')
    var p2=document.getElementById('p2')
    var p3=document.getElementById('p3')
    var btn=document.getElementById('btn')

    // var add = require('./calc.js')
    // var selet = require('./hehe.js')
    btn.onclick=function(){
        var inp1=parseFloat(p1.value)
        var inp2=parseFloat(p2.value)

        p3.value=add(inp1,inp2);
    }

